home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8726 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.unt.edu!news
  2. From: Steve Fogoros <sfogoros@hsc.unt.edu>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Fractals
  5. Date: Tue, 05 Mar 1996 20:56:17 -0800
  6. Organization: University of North Texas Health Science Center
  7. Message-ID: <313D1AF1.4A22@hsc.unt.edu>
  8. References: <4hhv43$49i@sunburst.ccs.yorku.ca> <4hibr0INN7s1@gambier.ugrad.cs.ubc.ca>
  9. NNTP-Posting-Host: sfogoros.hsc.unt.edu
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (Win16; I)
  14.  
  15. Kazimir Kylheku wrote:
  16. > In article <4hhv43$49i@sunburst.ccs.yorku.ca>,
  17. > Naftali Sturm <yu114405@yorku.ca> wrote:
  18. > >How do you program fractals in C?
  19. > You define a data type that can hold complex numbers. You can make it an
  20. > abstract data type if you wish.
  21. > Then you define some basic operations: complex multiplication, addition,
  22. > norm and so forth.
  23. > Then you compute the fractal using whatever iterative formula you wish, such as
  24. >         z = z^2 + C
  25.  
  26. When you used the ^ symbol, did you intend to indicate 2 as an exponent of z or bitwise exclusive or?
  27.  
  28.  
  29. -- 
  30. Steve Fogoros, Academic Information Coordinator
  31. University of North Texas Health Science Center
  32. sfogoros@hsc.unt.edu
  33.